﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<SCB.Presentation.Models.UICategoriesModels>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    CategoriesDetails
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="temp_3 center">
        <div class="title">
            <div class="fl">
            </div>
            <div class="fc">
                <span>
                    <%: Model.CategoryTitle %></span>
            </div>
            <div class="fr">
            </div>
        </div>
        <div class="content">
            <div class="list_product">
                <%  foreach (var item in Model.Subcategories)
                    {%>
                <div class="fl width_3" style="width: 25%;">
                    <div class="block">
                        <div class="picture_small">
                            <table cellpadding="0" cellspacing="0">
                                <tbody>
                                    <tr>
                                        <td>
                                            <a href='<%: Url.RouteUrl("Default",new {controller ="Product",action="ProductsByCategory", id=item.Id})  %>'>
                                                <img src="../../Content/Product/no_photo_small.gif" />
                                            </a>
                                        </td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                        <div class="name">
                            <%:item.Name%></div>
                    </div>
                </div>
                <%} %>
            </div>
            <div class="break_module">
            </div>
        </div>
        <div class="bottom">
            <div class="fl">
            </div>
            <div class="fr">
            </div>
        </div>
    </div>
    <div class="break_module">
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="LeftPanel" runat="server">
    <%Html.RenderPartial("LeftPanelUserControl", Model.Categories); %>
    <div class="break_module">
    </div>
    <div class="temp_5">
        <div class="title">
            <div class="fl">
            </div>
            <div class="fc">
                <span>Top Search</span></div>
            <div class="fr">
            </div>
        </div>
        <div class="content">
            <div class="list_link">
                <ul>
                    <li><a href="#">test1</a></li>
                    <li><a href="#">test2</a></li>
                    <li><a href="#">test3</a></li>
                </ul>
            </div>
        </div>
        <div class="bottom">
            <div class="fl">
            </div>
            <div class="fr">
            </div>
        </div>
    </div>
</asp:Content>
